package com.itheima.xxl.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class DemoJob1 {

    @XxlJob("clean")
    public void clean(){
        System.out.println(new Date()+ " : 开启执行清理垃圾工作 ....");
    }

}
